-- GENERATED SPELL FOR [Dun Garok Soldier] --


function spell0_7360(pUnit, Event) --@Defensive Stance,Self--
pUnit:FullCastSpellOnTarget(7164,pUnit)
pUnit:RegisterEvent('Sorts_7360', 608, 1)
end

function spell1_7360(pUnit, Event) --@Shield Bash,n/a--
pUnit:FullCastSpellOnTarget(11972,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7360', 8258, 1)
end

function Sorts_7360(pUnit, Event)
local choix_sorts_7360 = math.random(0, 1)
if choix_sorts_7360 == 0 then
pUnit:RegisterEvent('spell0_7360', 1, 1)
end
if choix_sorts_7360 == 1 then
pUnit:RegisterEvent('spell1_7360', 1, 1)
end
end

function mob7360_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7360', math.random(1500, 3000), 1)
end

function mob7360_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7360_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7360_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7360, 1, 'mob7360_Action')
RegisterUnitEvent(7360, 2, 'mob7360_Leave')
RegisterUnitEvent(7360, 3, 'mob7360_Kill')
RegisterUnitEvent(7360, 4, 'mob7360_Die')
